<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="theme-color" content="#000000">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Gitee Star Charts</title>
    <link rel="apple-touch-icon-precomposed"href="/favicon.png" sizes="144x144"  />
    <link rel="apple-touch-icon-precomposed" href="/favicon.png" sizes="152x152" />
    <link rel="icon" type="image/png" href="/favicon.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="/favicon.png" sizes="16x16" />
    <meta name="description" content="StarCharts">
    <meta name="author" content="https://github/zhangyd-c">
    <link rel="stylesheet" href="/stylesheets/style.css">
    <link rel="stylesheet"
          href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/darcula.min.css">
</head>
<body>
<div class="title">
    <img src="/images/stars.svg" alt="Stars">
    <span class="title"><a href="/">starcharts</a></span>
    <span class="subtitle">Plot your repository stars over time.</span>
</div>

<% if(typeof owner != 'undefined') {%>
<div class="main">
    <p>
        <b>Awesome!</b>
        <a href="https://gitee.com/<%=owner%>/<%=repo%>"><%=owner%>/<%=repo%></a>
        has acquired <b><%=starTotal%></b> stars since <time><%=startTime%></time>.
    </p>
</div>
<div class="chart">
    <p>
        <img src="/img/<%=owner%>/<%=repo%>/<%=startTime%>">
    </p>
</div>

<div class="code">
    <p>
        You can include the chart on your repository's
        <code>README.md</code>
        as follows:
        <pre>
            <code class="markdown hljs">
    ## Stargazers over time
    [![Stargazers over time](https://whnb.wang/img/<%=owner%>/<%=repo%>/<%=startTime%>)](https://whnb.wang/<%=owner%>/<%=repo%>/<%=startTime%>)
          </code>
        </pre>
    </p>
</div>
<%}%>

<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js"></script>
<!--<script src="https://cdn.jsdelivr.net/npm/highlight.js@9.15.8/lib/languages/markdown.min.js"></script>-->

<script>
    hljs.initHighlightingOnLoad();
</script>
</body>
</html>
